package com.lmt_14;

import java.io.DataInputStream;
import java.io.FileInputStream;

public class DataInputStreamTest {
    public static void main(String[] args) {
        try(
                DataInputStream ds = new DataInputStream(new FileInputStream("src/com/lmt_14/1.txt"));
                ){
            System.out.println(ds.readInt());
            System.out.println(ds.readDouble());
            System.out.println(ds.readByte());
        }catch (Exception e){
            e.printStackTrace();
        }
    }
}
